<template>
  <div>
    <h3>props获取从父组件传递过来的值，是异步获取的</h3>
    <h4>子组件5</h4>
    <p>{{ str }}</p>
  </div>
</template>

<script>
export default {
  props: {
    str: {
      type: String,
      required: true
    }
  }
}
</script>

<style>

</style>
